Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace #646 get_source_slice parsing with components #652

Merged
merged 17 commits into from
Jan 7, 2019
Merged

Replace #646 get_source_slice parsing with components #652

merged 17 commits into from
Jan 7, 2019

Conversation

ChristopherHogan
Copy link
Contributor

@ChristopherHogan ChristopherHogan commented Jan 7, 2019

This closes #646.

  • get_source_slice returns a complex array based on the component passed to it.
  • Replaced vec and ivec member initialization lists (C++ 11 feature) with an init_t function called in the constructors.
  • I left out python/examples/object_source.py because it seemed to rely on features from PR Geometric object source #635.

TODO: I included a sanity test to make sure sim.get_source_slice is callable, but we need a better test.

@stevengj @oskooi @HomerReid

@stevengj stevengj merged commit e3256b8 into NanoComp:master Jan 7, 2019
@ChristopherHogan ChristopherHogan deleted the pr_646 branch January 9, 2019 21:15
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
…mp#652)

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* source_slice

* updates

* removed overlap with geometric_object_source branch, uncommented out scheme inclusion from makefile.am

* Replace get_source_slice parsing with just component

* Update docs

* no need for slice_component!=Permeability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants